package com.imooc.set_;

import java.util.HashSet;

/**
 * @Date:2022/4/5/11:25
 * @Description:
 */
public class SetMethod {
    public static void main(String[] args) {
        HashSet<Object> hashSet = new HashSet<>();

        hashSet.add("1");
        hashSet.add("2");
        hashSet.add("3");

        for (Object o : hashSet) {
            System.out.println(o);

        }


    }
}
